﻿// Module:             Games Programming
// Assignment1:        Platformer Game
// Add game feature:   
// Student Number:     S10095741D
// Student Name:       Ng Cheong Sian

//////////////////////////////////////////////////////////////////////////
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Game.UIScripts
{
    public class UIButton
    {
        public string Name;
        public Vector2 Position;
        public Texture2D Texture;
        public bool IsSpawn;


        public UIButton(string name, Vector2 position, Texture2D texture, bool isspawn)
        {
            this.Name = name;
            this.Position = position;
            this.Texture = texture;
            this.IsSpawn = isspawn;
        }

        public void SetName(string name)
        {
            this.Name = name;
        }
        public void SetPosition(Vector2 position)
        {
            this.Position = position;
        }
        public void SetTexture(Texture2D texture)
        {
            this.Texture = texture;
        }
        public void SetIsSpawn(bool isspawn)
        {
            this.IsSpawn = isspawn;
        }
    }
}
